home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Workspace / Locus / Source / ErrorReporting.h < prev    next >
Text File  |  1995-06-12  |  799b  |  49 lines

  1.  
  2. /*
  3.     Copyright 1993  Jeremy Slade.  All rights reserved.
  4. */
  5.  
  6. /*
  7.     Project: Locus
  8.  
  9.     File: ErrorReporting.h
  10.  
  11.     Description:
  12.     The Category of Object defines some standard methods for debugging output and error reporting.
  13.     
  14.     Original Author: Jeremy Slade
  15.  
  16.     Revision History:
  17.         Created
  18.             V.101    JGS    Mon Feb  1 22:47:50 GMT-0700 1993
  19.  
  20. */
  21.  
  22.  
  23.  
  24. #ifndef ErrorReporting_h
  25. #define ErrorReporting_h
  26.  
  27. #define ErrorReporting_VERSION    (101)
  28.  
  29.  
  30. #import <objc/Object.h>
  31.  
  32.  
  33. @interface Object ( ErrorReporting )
  34.  
  35. + debug:(unsigned)level :(const char *)fmt, ...;
  36. - debug:(unsigned)level :(const char *)fmt, ...;
  37. + setDebugLevel:(unsigned)level;
  38. - setDebugLevel:(unsigned)level;
  39. + (unsigned)debugLevel;
  40. - (unsigned)debugLevel;
  41.  
  42. + errMsg:(const char *)fmt, ...;
  43. - errMsg:(const char *)fmt, ...;
  44.  
  45. @end
  46.  
  47.  
  48. #endif ErrorReporting_h
  49.